﻿using AutoMapper;
using Warehouse.Domain;
using Warehouse.Write.Api.Actions.Warehouse.Command;


namespace Warehouse.Write.Api
{
    public class MapFile:Profile
    {
        public MapFile() 
        {
            CreateMap<AddWarehouseCommand,WarehouseCategory>().ReverseMap();
            CreateMap<AddInformationCommand,WarehouseInformation>().ReverseMap();
            CreateMap<UpdCategoryCommand, WarehouseCategory>().ReverseMap();
            CreateMap<UpdInformationCommand, WarehouseInformation>().ReverseMap();
        }
    }
}
